package com.lagou.zuoye.factory;


import com.lagou.zuoye.dao.UserDaoImp;
import com.lagou.zuoye.dao.UserDao;

public class UserDaoFactory {
    /**
     * 通过静态工厂方法模式来实现UserDao对象的创建并返回出去
     * @return
     */
    public static UserDao getUserDao() {
        return new UserDaoImp();
    }
}
